<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浮动布局</title>
    <style>
        .box {
            width: 1224px;
            height: 458px;
            background-color: grey;
            margin: 100px auto;
        }
        .left {
            float: left;
            width: 232px;
            height: 458px;
            background-color: #a19f9f;
        }
        .right {
            float: left;
            width: 992px;
            height: 458px;
            background-color: #f5f5f5;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="left"></div>
        <div class="right"></div>
    </div>
</body>
</html>